//
//  RPopDownListCell.swift
//  LZStaff
//
//  Created by ray on 2018/11/19.
//  Copyright © 2018年 ray. All rights reserved.
//

import UIKit

class RPopDownListCell: UITableViewCell {

    @IBOutlet weak var nameLabel: UILabel!
    @IBOutlet weak var desLabel: UILabel!
    
    func configModel(flag: Bool, dic:Dictionary<String,Any>) {
        nameLabel.text = dic["name"] as? String
        print(dic,flag)
        desLabel.text = flag ? dic["inspectionCount"] as? String : dic["orderCount"] as? String
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
